package com.jspgou.cms.dao;

import java.util.Date;
import java.util.List;

import com.jspgou.common.hibernate3.Updater;
import com.jspgou.common.page.Pagination;
import com.jspgou.cms.entity.ShopYushou;
import com.jspgou.cms.entity.ShopMember;

public interface ShopYushouDao {
	public Pagination getPage(int pageNo, int pageSize);

	public ShopYushou findById(Long id);
	
	public ShopYushou findByCode(String code);

	public ShopYushou save(ShopYushou bean);

	public ShopYushou updateByUpdater(Updater<ShopYushou> updater);

	public ShopYushou deleteById(Long id);
	
	
	public List<ShopYushou> getList(ShopMember member,short status);
	
	public Pagination getPage(int pageNo, int pageSize, Long member,Long storeId,Date createTime,
			Short status);
}